package com.controller;

import com.service.inte.MemberCostServiceInte;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@Controller
public class MemberCostController {

    @Autowired
    private MemberCostServiceInte memberCostServiceInte;

    @GetMapping("getMemberCostSet")
    public String getMemberCostSet(HttpServletRequest request, HttpServletResponse response,int loginId){
        request.setAttribute("memberCostSet",memberCostServiceInte.getByFd_LoginID(loginId));
        return null;
    }
}
